package org.surelink.radius.model;

import java.io.Serializable;

public class Online  implements IModel,Serializable {


    private String clientAddress;

    private String sessionId;

    private String userName;

    private String ipAddress;

    private String macAddress;

    private String acctStart;

    private String nasPort;

    private Integer startSource;

    private static final long serialVersionUID = 1L;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public String getAcctStart() {
        return acctStart;
    }

    public void setAcctStart(String acctStart) {
        this.acctStart = acctStart;
    }

    public String getNasPort() {
        return nasPort;
    }

    public void setNasPort(String nasPort) {
        this.nasPort = nasPort;
    }

    public Integer getStartSource() {
        return startSource;
    }

    public void setStartSource(Integer startSource) {
        this.startSource = startSource;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getClientAddress() {
        return clientAddress;
    }

    public void setClientAddress(String clientAddress) {
        this.clientAddress = clientAddress;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Online{");
        sb.append("clientAddress='").append(clientAddress).append('\'');
        sb.append(", sessionId='").append(sessionId).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", ipAddress='").append(ipAddress).append('\'');
        sb.append(", macAddress='").append(macAddress).append('\'');
        sb.append(", acctStart='").append(acctStart).append('\'');
        sb.append(", nasPort='").append(nasPort).append('\'');
        sb.append(", startSource=").append(startSource);
        sb.append('}');
        return sb.toString();
    }
}